<?php

/*
 * wap 2.0 用户中心 菜单
 */

if (!defined('IN_SEXMALL')){
	die('Hacking attempt');
}

$cache_id = sprintf('%X', crc32(__FILE__));
if (!$smarty->is_cached('user_index.dwt', $cache_id))
{
	/* 用户信息 */
	$userInfo = get_user_info($user_token);

	$userInfo['login_id'] = get_username();

	$now = local_time();


	wap_setcookie("WAP[back_act]", 'index.php?' . http_build_query($back_param));

	$smarty->assign('order_num',        $order_num);
	$smarty->assign('info',        		$userInfo);

	$smarty->assign('back_url',        	htmlspecialchars($_SERVER['HTTP_REFERER']));
}

$smarty->display('user_index.dwt');